import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {HttpModule} from '@angular/http';
import {AppComponent} from './app.component';
import {AppRoutingModule} from "./app-routing.module";
import {UploadMoudle} from "./upload/upload.moudle";

@NgModule({
    imports: [
        //import only BrowserModule in the root AppModule.
        //BrowserModule also re-exports CommonModule from @angular/common.
        BrowserModule,
        HttpModule,
        AppRoutingModule,
        UploadMoudle
    ],
    declarations: [
        AppComponent
    ],
    bootstrap: [AppComponent]
})
export class AppModule {
}